

public class Test 
{
	public static void main(String args[])
	{
	 A();
	}
	public static void A()
	{
		//Test der Blackbox mit Fehler
		System.out.println("0:");
		Box f = new BlackBox(0,0,'*');
		f.print();
		//Test der Blackbox
		System.out.println("1:");
		Box a = new BlackBox(5,4,'*');
		a.setSize(3,3);
		a.setFrameChar('j');
		a.print();
		//Test der Whitebox
		System.out.println("2:");
		GreyBox b = new WhiteBox(6,5,'*');
		b.setSize(4,4);
		b.setFrameChar('6');
		b.print();
		//Test der Greybox
		System.out.println("3:");
		Box c = new GreyBox(7,6,'*','|');
		c.setSize(5,5);
		c.setFrameChar('g');
		c.print();
		//Test der ColoredBOX
		System.out.println("4:");
		ColoredBox d = new ColoredBox(8,7,'*','o');
		d.setSize(6,6);
		d.setFrameChar('u');
		d.setFillChar('t');
		d.print();
	}
}
